package com.service.wxuser.impl;

import com.alibaba.fastjson.JSONObject;
import com.bean.Js;
import com.bean.Mb_account;
import com.bean.Member;
import com.bean.Wx_user;
import com.dao.Mb_accountMapper;
import com.dao.MemberMapper;
import com.dao.Wx_userMapper;
import com.service.core.AbstractService;
import com.service.wxconfig.WxConfigService;
import com.service.wxuser.WxUserService;
import com.util.Config;
import com.util.EmojiFilter;
import com.util.HttpClient;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2017/9/10.
 */
@Service
public class WxUserServiceImpl extends AbstractService<Wx_user, Integer> implements WxUserService {
    Logger logger = Logger.getLogger(WxUserServiceImpl.class);

    @Autowired
    private Wx_userMapper wx_userMapper;

    @Override
    public Wx_user selectByOpenId(String openId) {
        return wx_userMapper.selectByOpenId(openId);
    }
}